package com.web.kdl.pojo.Vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class FlyWheelData {
    private String deviceName;
    private String dataValue;
    private String unit;
    public FlyWheelData(String deviceName, String dataValue, String unit) {
        this.deviceName = deviceName;
        this.dataValue = dataValue;
        this.unit = unit;
        if(unit.equals("/")){
            this.unit = "";
        }

    }
}
